﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Styx.Helpers;
using System.IO;
using Styx;
using Styx.Common;
using System.ComponentModel;
using DefaultValue = Styx.Helpers.DefaultValueAttribute;
using Styx.TreeSharp;

namespace ProspectOres
{
    public class CRSettingsDE : Settings
    {
        public static readonly CRSettingsDE myPrefs = new CRSettingsDE();

        public CRSettingsDE()
            : base(Path.Combine(Utilities.AssemblyDirectory, string.Format(@"Plugins/PluginSettings/Pasterke/DEChoices.xml")))
        {
        }

        [Setting]
        [DefaultValue(false)]
        [Category("Green Items")]
        [DisplayName("Soulbound")]
        [Description("Disenchant Soulbound Items or not")]
        public bool SoulboundGreen { get; set; }

        [Setting]
        [DefaultValue(false)]
        [Category("Green Items")]
        [DisplayName("Binds when Equipped")]
        [Description("Disenchant Binds when Equipped Items or not")]
        public bool BindonequippedGreen { get; set; }

        [Setting]
        [DefaultValue(false)]
        [Category("Blue Items")]
        [DisplayName("Soulbound")]
        [Description("Disenchant Rare Items or not")]
        public bool SoulboundBlue { get; set; }

        [Setting]
        [DefaultValue(false)]
        [Category("Blue Items")]
        [DisplayName("Binds when Equipped")]
        [Description("Disenchant Binds when Equipped Items or not")]
        public bool BindonequippedBlue { get; set; }

        [Setting]
        [DefaultValue(false)]
        [Category("Epic Items")]
        [DisplayName("Soulbound")]
        [Description("Disenchant Epic Items or not")]
        public bool SoulboundEpic { get; set; }

        [Setting]
        [DefaultValue(false)]
        [Category("Epic Items")]
        [DisplayName("Binds when Equipped")]
        [Description("Disenchant Binds when Equipped Items or not")]
        public bool BindonequippedEpic { get; set; }

    }
}
